home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _D58B2EF3621F4735B9B34BDD2F8A3AD8 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.3 KB  |  32 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5.  
  6. local entity hostage1 // the first hostage being kicked
  7. local entity hostage2 // the second hostage next to him
  8. local entity hostageshooter // the guy who will try and kill the hostages once the player is in the room
  9. local entity corner1guy // the other guy around the corner
  10. local int sig1
  11. local int sig2
  12.  
  13. hostage1 = find entity with targetname "hostage1"
  14. hostage2 = find entity with targetname "hostage2"
  15. corner1guy = find entity with targetname "corner1guy"
  16. hostageshooter = find entity with targetname "hostageshooter"
  17.  
  18.  
  19. use entity hostageshooter // spawns the guy in
  20. use entity corner1guy // spawns the other guy in
  21.  
  22. animate entity corner1guy performing action STD_R_N_PK_N by moving [-200, 0, 0]  // gets the other guy moving to the side
  23. animate entity corner1guy performing action SCRIPT_RELEASE
  24.  
  25. animate entity hostageshooter performing action STD_R_N_MRS_2 by moving [-256, 0 , 0]  // gets him to the side
  26. // animate entity hostageshooter performing action STD_F_FWD_S_2 targeting entity hostage2 kill signaling sig1 // he attempts to murder the hostages
  27. // animate entity hostageshooter performing action STD_F_FWD_S_2 targeting entity hostage1 kill signaling sig2
  28. // wait for all clearing sig1, sig2
  29. animate entity hostageshooter performing action SCRIPT_RELEASE 
  30.  
  31.  
  32.